#include <stdio.h>
#include <string.h>
#include <stdlib.h>

/*int main(int argc, char* argv[])
{
    for(int i = 0; i < argc; ++i)
        printf("argv[%d]: %s\n", i, argv[i]);
    if(strcmp(argv[1], "ls") == 0)
    {
        if(strcmp(argv[2], "-a") == 0)
        {
            printf("简单列出可见+隐藏文件\n");
        }
        else if(strcmp(argv[2], "-l") == 0)
        {
            printf("详细列出可见文件\n");
        }
    }
    return 0;
}*/

/*int main(int argc, char* argv[], char* env[]) {
    int i = 0;
    for (; env[i]; i++) {
        printf("%s\n", env[i]);
    }
    return 0;
}*/

int main()
{
    printf("%s\n", getenv("PATH"));
    return 0;
}
